package com.chenbei.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenbei.erp.domain.PurchaseOrderDetail;

import java.util.List;

public interface IPurchaseOrderDetailService extends IService<PurchaseOrderDetail> {

    /**
     * 根据订单ID删除
     * @param orderId 订单ID
     */
    void removeByPurchaseOrderId(Long orderId);

    /**
     * 根据订单ID获取详情列表
     * @param orderId 订单ID
     * @return List
     */
    List<PurchaseOrderDetail> listByPurchaseOrderId(Long orderId);
}
